<?xml version="1.0"?>
<zend-config>
    <routes>
        <chat type="Zend_Controller_Router_Route_Static">
            <route>/AjaxChat/index.php</route>
        </chat>
        <home type="Zend_Controller_Router_Route_Static">
            <route>/</route>
            <defaults module="default" controller="index" action="redirector" />
        </home>
        <defaultMultiLanguage type="Zend_Controller_Router_Route">
            <route>:lang/:module/:controller/:action/*</route>
            <defaults module="default" controller="index" action="index" />
            <reqs>
                <lang>[a-z]{2}</lang>
            </reqs>
        </defaultMultiLanguage>
        <rss type="Zend_Controller_Router_Route_Regex">
            <route>([a-z]{2})/rss.html</route>
             <reqs>
                <lang>[a-z]{2}</lang>
            </reqs>
            <defaults module="default" controller="index" action="rss"/>
            <reverse>rss.html</reverse>
        </rss>
        <language type="Zend_Controller_Router_Route">
            <route>:lang</route>
            <defaults module="default" controller="index" action="index" />
            <reqs>
                <lang>[a-z]{2}</lang>
            </reqs>
        </language>
        <admin type="Zend_Controller_Router_Route">
            <route>admin/:module/:controller/:action/*</route>
            <defaults module="default" controller="index" action="index" />
        </admin>
        <sitemap type="Zend_Controller_Router_Route_Static">
            <route>sitemap.html</route>
            <defaults module="default" controller="index" action="sitemap" />
        </sitemap>
        <brands type="Zend_Controller_Router_Route_Static">
            <route>brands.html</route>
            <defaults module="nomenclatures" controller="brands" action="list" />
        </brands>
        <brandsLetter type="Zend_Controller_Router_Route">
            <route>brands/:alias/:letter</route>
            <defaults module="nomenclatures" controller="brands" action="list" />
        </brandsLetter>
        <xml type="Zend_Controller_Router_Route_Regex">
            <route>xml/([a-z0-9\-]+).xml</route>
            <defaults module="default" controller="xml" action="index" />
            <map>
                <xml>1</xml>
            </map>
            <reverse>xml/%s.xml</reverse>
        </xml>
        <language-xml type="Zend_Controller_Router_Route_Chain">
            <chain>language</chain>
            <chain>xml</chain>
        </language-xml>
        <language-sitemap type="Zend_Controller_Router_Route_Chain">
            <chain>language</chain>
            <chain>sitemap</chain>
        </language-sitemap>
        <language-rss type="Zend_Controller_Router_Route_Chain">
            <chain>language</chain>
            <chain>rss</chain>
        </language-rss>
        <language-brands type="Zend_Controller_Router_Route_Chain">
            <chain>language</chain>
            <chain>brands</chain>
        </language-brands>
        <language-brandsLetter type="Zend_Controller_Router_Route_Chain">
            <chain>language</chain>
            <chain>brandsLetter</chain>
        </language-brandsLetter>
        <contact type="Zend_Controller_Router_Route_Static">
            <route>contact.html</route>
            <defaults module="default" controller="contact" action="index" />
        </contact>
        <language-contact type="Zend_Controller_Router_Route_Chain">
            <chain>language</chain>
            <chain>contact</chain>
        </language-contact>
    </routes>
</zend-config>